-- GENERATED SPELL FOR [Black Dragon Whelp] --


function spell0_441(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(20793,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_441', 3000, 1)
end

function Sorts_441(pUnit, Event)
local choix_sorts_441 = math.random(0, 0)
if choix_sorts_441 == 0 then
pUnit:RegisterEvent('spell0_441', 1, 1)
end
end

function mob441_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_441', math.random(1500, 3000), 1)
end

function mob441_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob441_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob441_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(441, 1, 'mob441_Action')
RegisterUnitEvent(441, 2, 'mob441_Leave')
RegisterUnitEvent(441, 3, 'mob441_Kill')
RegisterUnitEvent(441, 4, 'mob441_Die')
